﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace CPPEI.Coolzon.Designer.Views
{
    public class ExitCommand
    {
        public static void Executed(object sender, ExecutedRoutedEventArgs e)
        {
            Event.UI.UIEventBus.Publish(new Event.UI.UIMainWindowCloseEvent());
        }
        public static void CanExecute(object sender, CanExecuteRoutedEventArgs e)
        {
            e.CanExecute = true;
        }
    }
}
